fix buglet in test case
authorTom Tromey <tromey@redhat.com>
Thu, 4 Jul 2013 20:18:15 +0000 (14:18 -0600)
committerTom Tromey <tromey@redhat.com>
Thu, 4 Jul 2013 20:18:15 +0000 (14:18 -0600)
test/automated/threads.el

index db6aa41d63a434fa687f124068eb7fb854823ef7..c65b6425c3c2d3edaba78259f4ef9b11f2ff2c32 100644 (file)
@@ -1,6 +1,6 @@
 ;;; threads.el --- tests for threads.
 
-;; Copyright (C) 2012  Free Software Foundation, Inc.
+;; Copyright (C) 2012, 2013  Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
@@ -85,7 +85,7 @@
   "simple test of threads and let bindings"
   (should
    (progn
-     (setq threads-test-binding nil)
+     (setq threads-test-global nil)
      (make-thread #'threads-test-thread2)
      (while (not threads-test-global)
        (thread-yield))